Use relative path for os.chdir in generate_histogram.py

This commit is contained in:
Benjamin Loison 2024-04-25 14:36:38 +02:00
parent 807f586841
commit 674ce8dabe
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -4,7 +4,7 @@ import matplotlib.pyplot as plt
import numpy as np
from tqdm import tqdm
os.chdir('/home/benjamin/Desktop/bens_folder/school/ens/asp/aria/internship/work/datasets/raise/flat-field/TIF')
os.chdir('flat-field/TIF')
NUMBER_OF_COLORS = 3
HEX_COLOR = '#' + '%02x' * NUMBER_OF_COLORS