Skip to content

Commit

Permalink
removed some print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoReidelbach committed Oct 1, 2024
1 parent 622efce commit d267f4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion MaRDMO/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,6 @@ def dict_to_triples(data, relations, relatants):

# Assign Individual Formula
if item.get('Formula'):
print(item['Formula'])
formulas = item['Formula'].values()
for formula in formulas:
formula = formula.replace('\\', '\\\\')
Expand Down
4 changes: 2 additions & 2 deletions MaRDMO/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def get_options(self, project, search=None, user=None, site=None):
options.extend([{'id': f"{dic[key]['id']} <|> {key}", 'text': key } for key in dic if search.lower() in key.lower()])

options = sorted(options, key=lambda option: option['text'])
print(options)

return options

class RelatedQuantityKind(Provider):
Expand Down Expand Up @@ -569,7 +569,7 @@ def get_options(self, project, search=None, user=None, site=None):
options.extend([{'id': f"{dic[key]['id']} <|> {key}", 'text': key } for key in dic if search.lower() in key.lower()])

options = sorted(options, key=lambda option: option['text'])
print(options)

return options

class MathematicalFormulation(Provider):
Expand Down

0 comments on commit d267f4f

Please sign in to comment.