Error Message when loading a workspace

21 views
Skip to first unread message

Vera Amirbekian

unread,
Mar 7, 2025, 2:29:10 PMMar 7
to BioXTAS RAW
Hello,

Recently I've been having issues uploading a workspace and manipulating it in RAW.

Usually what I do is transfer the data files that I need via a USB off the BioXolver computer and create a new workspace, but I'm unable to manipulate the curves as none of the curves show up in the "Profile" tab on my office computer. 

I've tried opening other folders with .dat files, or reinstalling RAW (now I think I have RAW 2.3.0 installed), but it isn't fixing the problem. Do you have an idea of what I'm doing wrong? Maybe it has to do with the way I'm transferring data files to my computer?

I took screenshots of the error message I'm getting, but any help/guidance is appreciated!

Thank you,
Vera Amirbekian
Screenshot 2025-03-07 121947.png
Screenshot 2025-03-07 122001.png

Jesse Hopkins

unread,
Mar 7, 2025, 2:33:25 PMMar 7
to bioxt...@googlegroups.com
Hi Vera,

Can you copy the full text of the error (by selecting the text in the message box and copying) and send that along? That will help me troubleshoot.

Also, if you could share a workspace with me that causes the error so I can test it myself that would help.

In the meantime, you could just save each curve as a .dat file and transfer the .dats, then load them into RAW from the .dat files.

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/568e5302-1f08-4857-8c56-19926da29ed3n%40googlegroups.com.

Vera Amirbekian

unread,
Mar 7, 2025, 2:36:29 PMMar 7
to BioXTAS RAW
An unexpected error has occurred, please report it to the developers.
System: Windows-10-10.0.26100-SP0
RAW version: 2.3.0
Prebuilt: True

Error:
Traceback (most recent call last):

  File "wx\core.py", line 3427, in <lambda>

  File "bioxtasraw\RAW.py", line 8213, in addItem

  File "bioxtasraw\RAW.py", line 8922, in __init__

  File "bioxtasraw\RAW.py", line 10007, in _createFloatSpinCtrls

  File "bioxtasraw\RAWCustomCtrl.py", line 318, in __init__

ValueError: could not convert string to float: '1e-07.0'

Below is the workspace. I believe I did try loading individual .dat files but it also wasn't working, but I will try again! Thanks!
- Vera
1000uM_dAT_only_curves.wsp

Jesse Hopkins

unread,
Mar 7, 2025, 2:53:16 PMMar 7
to bioxt...@googlegroups.com
Hi Vera,

I was able to kind of load the workspace. It appears that the curve named 9.2024_vsa7_dAdT25_000 has at least one bad data point in it. I suspect if you manually open the .dat file for that curve and delete the first data point it will load fine, though you'll have to reload the other files as well and resave workspace.

As to how that bad data point got there, I'm not sure. It really shouldn't be possible.

If you send me the unmodified .dat file for that curve I may be able to provide more insight.

Also, I would strongly recommend against using decimals in filenames. RAW tries to handle that well but sometimes fails, stick with underscores if you can.

All the best.

- Jesse

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

Zach Candi

unread,
Aug 12, 2025, 9:03:13 AMAug 12
to BioXTAS RAW
Hello,

I've been having the same issue trying to load a workspace. The averaging and subtracting was done with ATSAS 4.0 but further analysis on the files with RAW. I'm still able to open the original .dat files that are in this workspace. How were you able to determine which file it was that was causing the issue? 

Cheers,
Zach

An unexpected error has occurred, please report it to the developers.
System: Windows-10-10.0.26100-SP0
RAW version: 2.3.1
Prebuilt: True
ATSAS version: 4.0.0


Error:
Traceback (most recent call last):

  File "wx\core.py", line 3425, in <lambda>

  File "bioxtasraw\RAW.py", line 8345, in addItem

  File "bioxtasraw\RAW.py", line 9054, in __init__

  File "bioxtasraw\RAW.py", line 10139, in _createFloatSpinCtrls


  File "bioxtasraw\RAWCustomCtrl.py", line 318, in __init__

ValueError: could not convert string to float: '2e-09.0'

Jesse Hopkins

unread,
Aug 12, 2025, 10:00:05 AMAug 12
to bioxt...@googlegroups.com, zacst...@gmail.com
Hi Zach,

It’s been a bit since I looked at this, but I suspect what I did was modify the RAW code to print out more information about what it was trying to load. If you send me the workspace I can investigate and let you know what’s causing the issue.

All the best.

- Jesse

----
Jesse Hopkins, PhD
Deputy Director
BioCAT, Sector 18
Advanced Photon Source

Zach Candi

unread,
Aug 14, 2025, 1:48:01 AMAug 14
to Jesse Hopkins, bioxt...@googlegroups.com
Hi Jesse,

Here's the two workspaces that I am getting the issue with.
v2 is just an exact replica of v1 except I am getting a different string causing the error. I suspect that the order of files may be different and potentially more than one of my files could cause an issue. 
I take it that the cause of these errors is still unknown?

Thank you,
Zach
23775 DES lys v2.wsp
23775 DES lys.wsp

Jesse Hopkins

unread,
Aug 14, 2025, 5:56:19 PMAug 14
to Zach Candi, bioxt...@googlegroups.com
Hi Zach,

In your case the error seems to be caused by the scale factor you've applied to the 7jmu.dat file not loading back in correctly with the workspace. If you save that file to disk, remove it, and reload it, the scale factor will be saved with it and RAW will see a scale factor of 1. You should then be able to save the workspace with all of your files.

I believe I've identified the bug that is causing the issue and have pushed a fix to the RAW git. If you'd like to build it from source you can, and that will also fix the problem. Otherwise the issue should be fixed in the next release (no promises on when that will be).

All the best.

- Jesse

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

Zach Candi

unread,
Aug 15, 2025, 3:53:04 AMAug 15
to Jesse Hopkins, bioxt...@googlegroups.com
Hi Jesse,

Thank you for all your help. I opted for the save as a .dat and it fixed the problem.

Cheers,
Zach
Reply all
Reply to author
Forward
0 new messages