Skip to content

Commit

Permalink
Fix filehandling option.
Browse files Browse the repository at this point in the history
  • Loading branch information
YooSunYoung committed Nov 4, 2024
1 parent 18f94e4 commit a19b6b6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/scicat_offline_ingestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,11 @@ def main() -> None:
metadata_schema.variables, h5file, config
)

# Collect data-file descriptions
if not config.ingestion.file_handling.use_full_file_path:
source_folder = variable_map["source_folder"]
else:
source_folder = None

data_file_list = create_data_file_list(
nexus_file=nexus_file_path,
ingestor_directory=ingestor_directory,
config=fh_options,
source_folder=source_folder,
source_folder=variable_map["source_folder"],
logger=logger,
# TODO: add done_writing_message_file and nexus_structure_file
)
Expand Down

0 comments on commit a19b6b6

Please sign in to comment.