We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e228bb3 commit 4ccbbd9Copy full SHA for 4ccbbd9
nibabies/utils/derivatives.py
@@ -168,6 +168,6 @@ def copy_derivatives(
168
outname = '_'.join(ents)
169
170
shutil.copy2(deriv, outpath / outname)
171
- json = deriv.parent / (deriv.name.split('.')[0] + '.json')
+ json = deriv.parent / (outname.split('.')[0] + '.json')
172
if json.exists():
173
shutil.copy2(json, outpath / json.name)
0 commit comments