You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this:
Traceback (most recent call last):
File "/home/mannino/ccfatigue/backend/.venv/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3802, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 165, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 5745, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 5753, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'MD_Displacement--1'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/mannino/ccfatigue/backend/preprocessing/hysteresis_loops.py", line 153, in
main()
File "/home/mannino/ccfatigue/backend/preprocessing/hysteresis_loops.py", line 134, in main
hyst_df = process_hysteresis(df, test_meta)["hyst_df"]
File "/home/mannino/ccfatigue/backend/preprocessing/hysteresis_loops.py", line 68, in process_hysteresis
strain=df[displacement_field] / test_meta["length"],
File "/home/mannino/ccfatigue/backend/.venv/lib/python3.10/site-packages/pandas/core/frame.py", line 3807, in getitem
indexer = self.columns.get_loc(key)
File "/home/mannino/ccfatigue/backend/.venv/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3804, in get_loc
raise KeyError(key) from err
KeyError: 'MD_Displacement--1'
make[1]: *** [Makefile:3: run] Error 1
make[1]: Leaving directory '/home/mannino/ccfatigue/backend/preprocessing'
make: *** [Makefile:25: preprocessing] Error 2
I have also run:
make api
make run
And I haven's got any error.
Considering all that: the make preprocessing error can be related to the fact that in the data upload page if i try to upload a .zip folder with experimental data he is not processing them and i cannot see the result of the datachecker.
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- OS: Linux CCLAB-C007588 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
- Node: v18.19.1
- npm: 9.2.0
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
@guilbep @charlottegiseleweil I run these commands in a newly created branch from develop:
mkdir -p secrets && cat < secrets/.env
POSTGRES_USER=ccfatigue
POSTGRES_PASSWORD=mannino
EOF
make install
make dev-database
make dev-backend
make dev-frontend
All of them without any error.
When running:
make preprocessing
I got this:
Traceback (most recent call last):
File "/home/mannino/ccfatigue/backend/.venv/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3802, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 165, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 5745, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 5753, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'MD_Displacement--1'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/mannino/ccfatigue/backend/preprocessing/hysteresis_loops.py", line 153, in
main()
File "/home/mannino/ccfatigue/backend/preprocessing/hysteresis_loops.py", line 134, in main
hyst_df = process_hysteresis(df, test_meta)["hyst_df"]
File "/home/mannino/ccfatigue/backend/preprocessing/hysteresis_loops.py", line 68, in process_hysteresis
strain=df[displacement_field] / test_meta["length"],
File "/home/mannino/ccfatigue/backend/.venv/lib/python3.10/site-packages/pandas/core/frame.py", line 3807, in getitem
indexer = self.columns.get_loc(key)
File "/home/mannino/ccfatigue/backend/.venv/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3804, in get_loc
raise KeyError(key) from err
KeyError: 'MD_Displacement--1'
make[1]: *** [Makefile:3: run] Error 1
make[1]: Leaving directory '/home/mannino/ccfatigue/backend/preprocessing'
make: *** [Makefile:25: preprocessing] Error 2
I have also run:
make api
make run
And I haven's got any error.
Considering all that: the make preprocessing error can be related to the fact that in the data upload page if i try to upload a .zip folder with experimental data he is not processing them and i cannot see the result of the datachecker.
Expected Behavior
No response
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: