diff --git a/src/APIHandler.py b/src/APIHandler.py index 65c67c3..14d4d08 100644 --- a/src/APIHandler.py +++ b/src/APIHandler.py @@ -123,7 +123,7 @@ class APIHandler: elabid, entryType="experiments", dump_dir="output/attachments", - persistent=True, + # persistent=True, ): """ Downloads attachments of a certain eLabFTW experiment (default) or item. diff --git a/src/main.py b/src/main.py index 769f615..b227621 100755 --- a/src/main.py +++ b/src/main.py @@ -214,10 +214,10 @@ def analyse_rheed_data(data): ----- Distinct ValueErrors are raised if: - - The array is not 2-dimensional; - - The total number of columns does not equate exactly 1+3 (= 4). + * The array is not 2-dimensional; + * The total number of columns does not equate exactly 1+3 (= 4). - Time is expressed in seconds, intensities are normalized (adimensional). + Time is expressed in seconds, intensities are adimensional on 8 bits (min. 0, max. 255). # TO-DO: complete this description... Written with help from DeepSeek. @@ -717,6 +717,7 @@ if __name__ == "__main__": # (IF PRESENT ←→ also handle missing file error) # and merge all data in a single file to analyse it # WARNING: fails if file is missing + with open("tests/Realtime_Window_Analysis.txt", "r") as o: osc = np.loadtxt(o, delimiter="\t") try: