SPF-OST / pytrnsys

Package that provides functionality to run and process, plot and report TRNSYS simulations
https://pytrnsys.readthedocs.io
GNU General Public License v3.0
11 stars 8 forks source link

When processing only json files only -results.json are considered and no warning is raised #65

Open danielcarbonell opened 3 years ago

danielcarbonell commented 3 years ago

Only json with -results.json structure are loaded. To me either we don't inforce that when processing only json files or we send a warning that no files with structrure -results.json were found in this path

martin-neugebauer commented 3 years ago

Do I understand you correctly that you think pytrnsys should also be able to load results from json-files that do not end in -results.json? Or are you saying that we should be explicit about the fact that only files ending in -results.json will be loaded when processing?

danielcarbonell commented 3 years ago

either one or the other. I would vote for being able to load all, but if this add problems somewhere else then it should warn about it

martin-neugebauer commented 1 year ago

We'll do the warning that no file was found, if that's the case.