Skip to content

Commit 544c83a

Browse files
authored
Merge pull request #169 from SciCatProject/tranche-1-instrument-fixes
latest bug fixes from configuring tranche 1 instruments
2 parents d78b26b + 0337f8b commit 544c83a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/scicat_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def render_variable_value(var_value: Any, variable_registry: dict) -> str:
160160
"<" + reg_var_name + ">", str(reg_var_value)
161161
)
162162

163-
if "<" in var_value and ">" in var_value:
163+
if "<" in output_value and ">" in output_value:
164164
raise Exception(f"Unresolved variable: {var_value}")
165165

166166
output_value = (

src/scicat_offline_ingestor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ def main() -> None:
131131

132132
# Collect all metadata schema configurations
133133
schemas = collect_schemas(config.ingestion.schemas_directory)
134+
logger.info("Found %s schemas", len(schemas))
134135

135136
with handle_exceptions(logger):
136137
nexus_file_path = Path(config.nexus_file)

0 commit comments

Comments
 (0)