<commit_before>#Module that will contain the definition of the internal database class

#So far it's a class that contains every possible variable

import numpy as np

import pandas as pd

class InternalDatabase(object):

	def __init__(self,gui):

		#Start by inputting what is the fraction of the building that is clean rooms

		self.CLEAN_ROOMS_RATIO = 0.2

		#Input the cost per sq mt of clean rooms and non-clean room space in the GMP facility (in €)

		self.COST_SQ_MT_CLEAN_ROOM = 5815

		self.COST_SQ_MT_OTHERS = 3392

		#Input the facility depreciation period (in years)

		self.FACILITY_DEPRECIATION_PERIOD = 15

		#Input the equipment depreciation period (in years)

		self.EQUIPMENT_DEPRECIATION_PERIOD = 5

		#Calculate the daily costs of the building

		self.CLEAN_ROOM_DAILY_COST = self.COST_SQ_MT_CLEAN_ROOM*self.CLEAN_ROOMS_RATIO

		self.OTHER_ROOM_DAILY_COST = self.COST_SQ_MT_OTHERS*(1-self.CLEAN_ROOMS_RATIO)

		#Multiplies the daily costs of GMP facility per sq mt per the area facility and divides by the depreciation cost 

		self.FACILITY_DAILY_COST = (self.CLEAN_ROOM_DAILY_COST+self.OTHER_ROOM_DAILY_COST)*gui.AREA_FACILITY/(self.FACILITY_DEPRECIATION_PERIOD*365.25)

		#Input the costs of acquisition of equipment

		self.INCUBATOR_COST = 16000

		self.BSC_COST = 15300

		self.BIOREACTOR_SYSTEM_COST = 56000

		#Calculate the daily equipment acqusition costs

		self.INCUBATORS_DAILY_COST = (self.INCUBATOR_COST*gui.TOTAL_INCUBATORS)/(self.EQUIPMENT_DEPRECIATION_PERIOD*365.25)

		self.BSC_DAILY_COST = (self.BSC_COST*gui.TOTAL_BSC)/(self.EQUIPMENT_DEPRECIATION_PERIOD*365.25)

		self.BIOREACTOR_SYSTEM_DAILY_COST = (self.BIOREACTOR_SYSTEM_COST*gui.TOTAL_BIOREACTORS)/(self.EQUIPMENT_DEPRECIATION_PERIOD*365.25)

		#Input the power of the equipment (in watts)

		self.INCUBATOR_POWER = 1500

		self.BSC_POWER = 1400<commit_msg>added the prints to detect data types<commit_after>#Module that will contain the definition of the internal database class

#So far it's a class that contains every possible variable

import numpy as np

import pandas as pd

class InternalDatabase(object):

	def __init__(self,gui):

		#Start by inputting what is the fraction of the building that is clean rooms

		self.CLEAN_ROOMS_RATIO = 0.2

		#Input the cost per sq mt of clean rooms and non-clean room space in the GMP facility (in €)

		self.COST_SQ_MT_CLEAN_ROOM = 5815

		self.COST_SQ_MT_OTHERS = 3392

		#Input the facility depreciation period (in years)

		self.FACILITY_DEPRECIATION_PERIOD = 15

		#Input the equipment depreciation period (in years)

		self.EQUIPMENT_DEPRECIATION_PERIOD = 5

		#Calculate the daily costs of the building

		self.CLEAN_ROOM_DAILY_COST = round(self.COST_SQ_MT_CLEAN_ROOM*self.CLEAN_ROOMS_RATIO,2)

		self.OTHER_ROOM_DAILY_COST = round(self.COST_SQ_MT_OTHERS*(1-self.CLEAN_ROOMS_RATIO),2)

		print(type(self.CLEAN_ROOM_DAILY_COST))

		print(type(self.OTHER_ROOM_DAILY_COST))

		print(type(gui.AREA_FACILITY))

		print(type(self.FACILITY_DEPRECIATION_PERIOD))

		#Multiplies the daily costs of GMP facility per sq mt per the area facility and divides by the depreciation cost 

		self.FACILITY_DAILY_COST = (self.CLEAN_ROOM_DAILY_COST+self.OTHER_ROOM_DAILY_COST)*gui.AREA_FACILITY/(self.FACILITY_DEPRECIATION_PERIOD*365.25)

		#Input the costs of acquisition of equipment

		self.INCUBATOR_COST = 16000

		self.BSC_COST = 15300

		self.BIOREACTOR_SYSTEM_COST = 56000

		#Calculate the daily equipment acqusition costs

		self.INCUBATORS_DAILY_COST = (self.INCUBATOR_COST*gui.TOTAL_INCUBATORS)/(self.EQUIPMENT_DEPRECIATION_PERIOD*365.25)

		self.BSC_DAILY_COST = (self.BSC_COST*gui.TOTAL_BSC)/(self.EQUIPMENT_DEPRECIATION_PERIOD*365.25)

		self.BIOREACTOR_SYSTEM_DAILY_COST = (self.BIOREACTOR_SYSTEM_COST*gui.TOTAL_BIOREACTORS)/(self.EQUIPMENT_DEPRECIATION_PERIOD*365.25)

		#Input the power of the equipment (in watts)

		self.INCUBATOR_POWER = 1500

		self.BSC_POWER = 1400
{'fraction_non_alphanumeric': 0.06785714285714285, 'fraction_numerical': 0.02959183673469388, 'mean_word_length': 5.233704292527822, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7508418', 'n_tokens_mistral': 1730, 'n_tokens_neox': 1466, 'n_words': 329}