added exception for data with no text output
This commit is contained in:
parent
4f1981cf3b
commit
8f4174f82e
5 changed files with 21 additions and 3 deletions
|
@ -207,7 +207,11 @@ if __name__ == '__main__':
|
|||
period_data_formatted = dateutil.parser.parse(data[room_fdb][i][key]["period"])
|
||||
name_data_lower = [word.lower() for word in data[room_fdb][i][key]["name"].split(' ')]
|
||||
info_data_lower = [word.lower() for word in data[room_fdb][i][key]["info"].split(' ')]
|
||||
text_data_lower = [word.lower() for word in data[room_fdb][i][key]["text"].split(' ')]
|
||||
try:
|
||||
text_data_lower = [word.lower() for word in data[room_fdb][i][key]["text"].split(' ')]
|
||||
except Exception as e:
|
||||
print(e)
|
||||
text_data_lower = ['none']
|
||||
tag_list = []
|
||||
for tag in eval(room_tags):
|
||||
|
||||
|
@ -583,7 +587,11 @@ if __name__ == '__main__':
|
|||
print('getting the period did not work for', room_fdb, i, key, ' ori err is:', e)
|
||||
name_data_lower = [word.lower() for word in data[room_fdb][i][key]["name"].split(' ')]
|
||||
info_data_lower = [word.lower() for word in data[room_fdb][i][key]["info"].split(' ')]
|
||||
text_data_lower = [word.lower() for word in data[room_fdb][i][key]["text"].split(' ')]
|
||||
try:
|
||||
text_data_lower = [word.lower() for word in data[room_fdb][i][key]["text"].split(' ')]
|
||||
except Exception as e:
|
||||
print(e)
|
||||
text_data_lower = ['NONE']
|
||||
print('got until ONE')
|
||||
tag_list = []
|
||||
for tag in eval(room_tags):
|
||||
|
|
|
@ -1 +1 @@
|
|||
createroom test42 ['giz','fdb2'] ['oi','open_source','cool'] 7§%§%RHAiN4X4uQ373tD3B
|
||||
updaterooms test42-2§%§%oM6dfcAhS3ydJoFNu
|
|
@ -576,3 +576,9 @@ Leistungsbild: Technische Ausrüstung nach HOAI § 53 ff., AG 4, 5, HZ II, LPH
|
|||
<https://www.innovationsfoerderung-hessen.de/start-up-stipendium|Start-up-Stipendium>
|
||||
<https://www.ptj.de/projektfoerderung/in-nrw/green-economy|Innovationswettbewerb GreenEconomy.IN.NRW>
|
||||
<https://www.sab.sachsen.de/innovationsunterst%C3%BCtzende-ma%C3%9Fnahmen|Innovationsunterstützende Maßnahmen – Steigerung von Forschungs- und Entwicklungstätigkeiten >
|
||||
<https://ausschreibungen.giz.de/Satellite/public/company/project/CXTRYY6Y1A11VU3E/de/overview?4|81304268 - Development of a grouped carbon credits project for the VCM to support bringing e-mobility to scale in East Africa>
|
||||
<https://ausschreibungen.giz.de/Satellite/public/company/project/CXR2YY6YYRB/de/overview?9|Extension Solar Minigrid from 100 kWp to 220 kWp for Togo>
|
||||
<https://www.bmbf.de/bmbf/shareddocs/bekanntmachungen/de/2024/01/2024-01-12-%C3%84nderungsbekanntmachung-Patienten.html|Zweite Änderung der Richtlinie zur Förderung von Projekten zum Thema "Medizintechnische Lösungen in die Patientenversorgung überführen – Klinische Evidenz ohne Verzögerung belegen">
|
||||
<https://www.bmbf.de/bmbf/shareddocs/bekanntmachungen/de/2024/01/2024-01-12-%C3%84nderungsbekanntmachung-Medizintechnik.html|Änderung der Richtlinie "KMU-innovativ: Medizintechnik">
|
||||
<https://www.bmbf.de/bmbf/shareddocs/bekanntmachungen/de/2024/01/2024-01-09-Bekanntmachung-NEURON.html|ERA-NET NEURON: Bidirektionale Interaktionen zwischen Gehirn und Körper>
|
||||
<https://www.in.nrw/massnahmen/circular-cities-nrw|Circular Economy – CircularCities.NRW>
|
||||
|
|
3
roomhistories/65c25bbb0de8c216e4a636f9.txt
Normal file
3
roomhistories/65c25bbb0de8c216e4a636f9.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
<https://ausschreibungen.giz.de/Satellite/public/company/project/CXTRYY6Y1AK62J1V/de/overview?66|81303835-Mise en ?uvre de la composante du projet ReGnR sur la création d'emplois et l'amélioration des revenus à Jendouba>
|
||||
<https://ausschreibungen.giz.de/Satellite/public/company/project/CXR2YYRYYDA/de/overview?68|81298137-Development of tools, instruments and project concepts to leverage climate finance to scale up renewables and energy efficiency in Côte d'Ivoire>
|
||||
<https://ausschreibungen.giz.de/Satellite/public/company/project/CXTRYYRY1A41ZFLS/de/overview?80|Transformer Oil for Ukraine>
|
1
roomhistories/65cb6a3954f8a2bb1a3a8f43.txt
Normal file
1
roomhistories/65cb6a3954f8a2bb1a3a8f43.txt
Normal file
|
@ -0,0 +1 @@
|
|||
<https://ausschreibungen.giz.de/Satellite/public/company/project/CXTRYY6Y1A11VU3E/de/overview?4|81304268 - Development of a grouped carbon credits project for the VCM to support bringing e-mobility to scale in East Africa>
|
Loading…
Reference in a new issue