Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The results database should be moved to Cossan-X #26

Open
FriesischScott opened this issue Mar 12, 2020 · 4 comments
Open

The results database should be moved to Cossan-X #26

FriesischScott opened this issue Mar 12, 2020 · 4 comments
Labels
development Development version

Comments

@FriesischScott
Copy link
Member

In it's current state, we have possibility to save the analysis results in varying database formats. After most analyses you will find code along the lines of

if ~isdeployed
	... save results in database
end

However, there is no way to retrieve these results from the Matlab version. Only Cossan-X has this feature. I also think that no one using the Matlab version would be interested in saving the results in a database when the .mat files are already exported.

I think we should remove the complete database related code from the development version and have all necessary functionality in Cossan-X only.

Thoughts? @etheban @teobros

@FriesischScott FriesischScott added the development Development version label Mar 12, 2020
@etheban
Copy link
Contributor

etheban commented Mar 12, 2020

I disagree. We should have a full support of the database. It is not only a matter of storing .mat files but keeping track of the simulation.
It should be managed by the Analysis class

@FriesischScott
Copy link
Member Author

Can you explain the use case here? Why would someone using Matlab want to save their results in a database where they are somehow less accessible than before?

Also what do you mean by "keeping track of the simulation"?

@etheban
Copy link
Contributor

etheban commented Apr 21, 2020

Because you can work in groups/team and storing results in a centralised location. You can also use the database for caching the results, eventually.
Why a database should be less accessible than files with random names and no organisation?

@FriesischScott
Copy link
Member Author

FriesischScott commented Apr 24, 2020

Ultimately, I think that everybody has their preferred way of storing results. It makes sense to export intermediate results somewhere so people can move them wherever they want, but mostly I think saving results should be left to the user the way they want it and are used to it.

If the results are in a database, you can't simply move them to wherever you want. You'd have to learn about databases first etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Development version
Projects
None yet
Development

No branches or pull requests

2 participants