Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform points error #138

Open
narasa0 opened this issue Mar 28, 2024 · 0 comments
Open

Transform points error #138

narasa0 opened this issue Mar 28, 2024 · 0 comments

Comments

@narasa0
Copy link

narasa0 commented Mar 28, 2024

Hi,

I am getting the following copy error during the cell alignment part of the code. Can you please help me fix the error.

Thanks,
Arun

907 -1.045990 157.733406 0.016110 23.7
Traceback (most recent call last):

File ~/miniconda3/envs/ClearMapUi39/lib/python3.9/shutil.py:825 in move
os.rename(src, real_dst)

OSError: [Errno 18] Invalid cross-device link: '/tmp/tmpzvvf54_z' -> '/mnt/data0/arun/data/409/elastix_resampled_to_auto/TransformParameters.0.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File ~/miniconda3/envs/ClearMapUi39/lib/python3.9/site-packages/spyder_kernels/py3compat.py:356 in compat_exec
exec(code, globals, locals)

File /mnt/data0/arun/code/python/clearMap/CellMap_fromClearMap.py:319
coordinates_transformed = transformation(coordinates);

File /mnt/data0/arun/code/python/clearMap/CellMap_fromClearMap.py:304 in transformation
coordinates = elx.transform_points(

File ~/miniconda3/envs/ClearMapUi39/lib/python3.9/site-packages/ClearMap2-2.1.0-py3.9-linux-x86_64.egg/ClearMap/Alignment/Elastix.py:952 in transform_points
set_path_transform_files(transform_parameter_dir)

File ~/miniconda3/envs/ClearMapUi39/lib/python3.9/site-packages/ClearMap2-2.1.0-py3.9-linux-x86_64.egg/ClearMap/Alignment/Elastix.py:336 in set_path_transform_files
shutil.move(tmpfn, ff)

File ~/miniconda3/envs/ClearMapUi39/lib/python3.9/shutil.py:845 in move
copy_function(src, real_dst)

File ~/miniconda3/envs/ClearMapUi39/lib/python3.9/shutil.py:445 in copy2
copystat(src, dst, follow_symlinks=follow_symlinks)

File ~/miniconda3/envs/ClearMapUi39/lib/python3.9/shutil.py:384 in copystat
lookup("utime")(dst, ns=(st.st_atime_ns, st.st_mtime_ns),

PermissionError: [Errno 1] Operation not permitted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant