Skip to content

Commit

Permalink
bug(transfer): fixes crosswalk transform of methods
Browse files Browse the repository at this point in the history
Closes #398
  • Loading branch information
vchendrix committed Oct 6, 2023
1 parent 2e9da93 commit 15e48c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archive_api/service/essdive_transfer/crosswalk.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def dataset_transform(dataset) -> Tuple[Dict, Optional[TextIO]]:
# --- methods ---
measurement_technique = None
if dataset.qaqc_method_description is not None:
measurement_technique = [dataset.qaqc_method_description]
measurement_technique = dataset.qaqc_method_description and [r for r in dataset.qaqc_method_description .split('\n') if r] or list()

# --- ASSIGN TO JSON-LD ----

Expand Down

0 comments on commit 15e48c4

Please sign in to comment.