Closed JanStreffing closed 2 months ago
I found that this error can result from an incorrectly set simulation path / trying to load data that is not there.
Needs better error handeling.
@JanStreffing yes the datapath might be wrong, ... the hslice notebook had a wrong order of the checks for None (In most of the other notebooks it was correct)! Now i first check for None with a valueerror message, than i use the nbytes variable
#__________________________________________________________________________________________________
# check if data where loaded
if data is None: raise ValueError(f'data == None, data could not be readed, your path:{datapath} might be wrong!!!')
print(' --> elasped time to load data: {:3.2f} min.'.format( (clock.time()-ts)/60 ))
print(' --> data uses {:3.2f} Gb:'.format(data.nbytes/(1024**3)))
print('')
Now when there is a wrong path it prints the ValueError error message! Main branch has been actualized (I will look at the otherproblems as well)
ty, @patrickscholz
After solving #112 and #113 I am faced with this error:
for this one the solution is not immediately obvious to me. I tried again with a clean environment for tripyview and with the recommended python version 3.9, but got the same error.