Skip to content

avoid empty string in DSID directory when using custom directory names

Christian Gutschow requested to merge fix_empty_string into master

Description of bug

cf. #170 (closed)

Changes introduced

return [ ] for empty DSID string

Tests

> ./scripts/commit_new_dsid -m"test" ./test/ --dry-run
OK: ./test/ is dir
INFO: will use following remote for pushing: origin
INFO: Will use branch: dsid_cgutscho_test...
INFO: Will create new branch "dsid_cgutscho_test"
INFO: Checking jO consistency and DSID ranges ...
         		Will move ./test to 700xxx/700600
INFO: New DSID directory: ./test/ ...
         	WARNING: ./test/ does not contain log.generate or log.afterburn
         	You should athena locally and add the log.generate or log.afterburn file in ./test/
         	The athena and logParser jobs will not run in the CI
      	Will now add files to git commit
		File: ./test/mc.Sh_2212_test.py cannot be added to the commit. Skipping.

Issues resolved

Closes #170 (closed)

Merge request reports

Loading