Topp-Roots-Lab / python-rawtools

Utility library for consuming and manipulating x-ray volume data in .raw format.
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

[REQUEST] Fix .dat filepaths #35

Open kenanoestreich opened 1 year ago

kenanoestreich commented 1 year ago

Type of Request

Is your feature request related to a problem? How pervasive is the problem? Please describe. Every time people pull XCT data from Eris or other locations, they have to edit the filepaths stored in the .dat

Describe the solution you'd like I would like to just change all the filepaths to relative filepaths instead of absolute filepaths. Then - so long as we keep .dat and .raw files together - it won't break.

Describe alternatives you've considered N/A

Additional context N/A

tparkerd commented 1 year ago

I know this wasn't assigned to me, but I'm just curious. Is there a log file of what happens if they don't edit the filepath in the .dat?

Every time people pull XCT data from Eris or other locations, they have to edit the filepaths stored in the .dat

Are these .dat generated by the NSI software? If so, did they change it from relative paths to absolute paths?

As far as I remember, the current version of rawtools uses relative paths starting with the .raw files and then finding the .dat with respect to said .raw.