Open lupeterm opened 7 months ago
Example:
└── fd52708db5c296d1fa52b056701be4ee ├── signac_job_document_6850e48aa71863aac82ca3c2cdd6d5e2_test_campaign.json ├── signac_job_document.json ├── signac_statepoint.json └── test_campaign ├── decomposePar_2024-01-05_17:38:44.log ├── instrumentedPimpleFoam_2024-01-05_17:44:32.log ├── solverExitCode.log └── test_tag ├── decomposePar_2024-01-05_17:38:44.log ├── instrumentedPimpleFoam_2024-01-05_17:44:32.log └── solverExitCode.log
How to reproduce:
Now, the folder structure will look like the above and the inner function find_tags will enter the first branch, setting tag_mapping[str(path)] = [] as the default value of tagsis the empty list. This results in the tags being ignored.
find_tags
tag_mapping[str(path)] = []
tags
Example:
How to reproduce:
Now, the folder structure will look like the above and the inner function
find_tags
will enter the first branch, settingtag_mapping[str(path)] = []
as the default value oftags
is the empty list. This results in the tags being ignored.