Skip to content

Commit b420255

Browse files
authored
Merge pull request #1020 from I2PC/agm_olz_fix_dltk_validation
Agm olz fix dltk validation
2 parents 605ac50 + 00dcf15 commit b420255

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/xmipp/bindings/python/xmipp_base.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,16 @@ def getCondaEnv(env, condaEnv):
255255
env['PYTHONWARNINGS'] = 'ignore::FutureWarning' # to skip warnings
256256
return env
257257

258+
def getCondaEnvTargetFilename(self, name):
259+
env = CondaEnvManager.XMIPP_CONDA_ENVS[name]
260+
261+
if "versionId" in env:
262+
target = f'{name}-{env["versionId"]}.yml'
263+
else:
264+
target = f'{name}.yml'
265+
266+
return target
267+
258268
@staticmethod
259269
def getCondaActivationCmd():
260270
""" This method takes the command to activate conda

0 commit comments

Comments
 (0)