Question about Raw Tutorial Data processing

18 views
Skip to first unread message

Minqi

unread,
Feb 9, 2025, 11:24:51 AMFeb 9
to BioXTAS RAW
Hi,

I'm a beginner of BioXTAS RAW. I'm trying to load tutorial data but I got an error here:

1.png

The data I used was got from raw tutorial data
I have loaded the SAXS.cfg file in advacne and tried to open one of the tiff file in current folder, and warning message shows:

The selected file could not be recognized as a Pilatus image format or any of the supported ASCII formats. This can be caused by failing to load the correct configuration file.

I'd appreciate if you could help me on this problem. Thanks.

Best regards,
Minqi

Jesse Hopkins

unread,
Feb 9, 2025, 11:43:30 AMFeb 9
to bioxt...@googlegroups.com
Hi Minqi,

I just downloaded the tutorial data and tested myself to make sure there's no an issue and was unable to reproduce the problem. There's a couple of possibilities. First, make sure you loaded the SAXS.cfg file that's in that extra folder (there's several files called SAXS.cfg through the tutorial data), as having the wrong config loaded could be the cause of this error. Second, there might be a problem with the file path you have the data in isn't a good path for RAW. I notice that your file path starts with "C:\Users\xia.m\" Generally having a "." in a file path will throw off some software. I don't think anything in RAW has that problem, and I just tested and couldn't reproduce an issue, but I was testing on a Mac so there might be a possible issue on Windows I'm not seeing. So you could move the data to a different location where the file path doesn't have a "." in it and see if that helps.

If neither of those work, let me know. In order to help more I will need to know your OS (e.g. version of Windows) and what version of RAW you installed/how you installed it (e.g. prebuilt, from source).

All the best.

- Jesse

----
Jesse Hopkins, PhD (he/him)
Director, BioCAT
Sector 18, Advanced Photon Source
Research Associate Professor, Illinois Tech


--
You received this message because you are subscribed to the Google Groups "BioXTAS RAW" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bioxtas_raw...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bioxtas_raw/c2b04fe8-0332-45fa-b628-6170528704f8n%40googlegroups.com.

Minqi

unread,
Feb 14, 2025, 12:48:17 AMFeb 14
to BioXTAS RAW
Hi Jesse,

Thanks so much for your reply, and I followed the instructions as you proposed, but the error still occurs.

I'm now loading SAXS.cfg file from C:\RAW_Tutorial_Data\calibration_data\extra, and tried to open the tiff file in the same directory but failed. The error message shows:

屏幕截图 2025-02-14 134225.png

The OS I'm using is Windows 11, and I build RAW-2.3.0 from source code.

When I started RAW from command line, there's a message shows:

C:\Users\xia.m\AppData\Local\mambaforge\lib\site-packages\bioxtasraw\BIFT.py:335: RuntimeWarning: invalid value encountered in divide
  sinc_qr = np.where(qr==0, 1, np.sin(qr)/qr)
INFO: Could not find files for the given pattern(s).
INFO: Could not find files for the given pattern(s).

And I'm not sure if it's related with this issue.

Thanks for your help again and look forward to your reply.

Best regards,
Minqi
Reply all
Reply to author
Forward
0 new messages