We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fb0dcf commit 55862c6Copy full SHA for 55862c6
pippin/dataprep.py
@@ -40,6 +40,8 @@ def __init__(self, name, output_dir, config, options, global_config, dependencie
40
if self.raw_dir is None:
41
Task.fail_config(f"Unable to find {self.options.get('RAW_DIR')}")
42
43
+ if self.raw_dir[-1] == "/":
44
+ self.raw_dir = self.raw_dir[:-1]
45
self.genversion = os.path.basename(self.raw_dir)
46
self.data_path = os.path.dirname(self.raw_dir)
47
if self.unparsed_raw == "$SCRATCH_SIMDIR" or "SNDATA_ROOT/SIM" in self.raw_dir:
0 commit comments