I have some project directories that were renamed rather than copied, so the original directories no longer exist. Based on the answer at Are project directories moveable?, I’ve tried running a command of the form: cryosparcm cli "update_project_directory('P55', '/bulk/data/cryosparc_projects/P55')"
but it looks for the old path and gives an error like:
ServerError: validation error: lock file for P55 at /bulk/OLD-data/cryosparc_projects/P55/cs.lock absent or otherwise inaccessible.
Traceback (most recent call last):
File "/master-dir/cryosparc_master/cryosparc_command/commandcommon.py", line 196, in wrapper
res = func(*args, **kwargs)
File "/master-dir/cryosparc_master/cryosparc_command/commandcommon.py", line 250, in wrapper
assert os.path.isfile(
AssertionError: validation error: lock file for P55 at /bulk/OLD-data/cryosparc_projects/P55/cs.lock absent or otherwise inaccessible.
Is there a way to update the project directories in the database so that these projects can still be used?