Comments (4)
another idea is using GitHub as storage, but not sure how difficult it is to sync back to server
from recast-flask-frontend.
@cbora, actually probably the nicest and easiest way would be it we would just hook up the request submission directly to ZENODO. In the control center we already have the response side hooked up to ZENODO and it would create a nice symmetry between request and response (also fixed DOIs for both)
see code example here:
https://github.com/recast-hep/recast-control-center-prototype/blob/master/recastcontrolcenter/backendtasks.py#L95
and actual API calls here:
https://github.com/recast-hep/recast-control-center-prototype/blob/master/recastcontrolcenter/backendtasks.py#L30
from recast-flask-frontend.
@lukasheinrich OK, I will switch to ZENODO if you think that's better. Though, I had already integrated AWS S3. Currently, I am looking into file naming strategy to avoid filenames collisions, and so far I think using uuid is the best solution. If you have a better one let me know.
from recast-flask-frontend.
we might still need local storage, since I'm not sure that the only storage we ever need is the request data, so it's good to have something additional to zenodo. Maybe the upload to zenodo can be done as an additional step after it was copied to amazon z3. Also, if we upload to Zenodo, we probably should have DOI fields in the database model for BasicRequests / PointRequests), should we have a new issue for that?
As for filenaming.. at least the request data should come with their unique request uuid (scan_request_id field / point_request_id). can't we use this to build a folder structure.
from recast-flask-frontend.
Related Issues (18)
- Launch new heroku test site HOT 5
- Design Recast logo
- Add logos for contributors HOT 1
- Associate ORCID with user profile throughout
- improve persistent ID for papers
- auto-fill abstracts etc. with arxiv API HOT 1
- Make sure analysis status is implemented HOT 1
- Agree on framework for REST API HOT 1
- Secure API access with ORCID HOT 1
- Come up with more user stories
- Flesh out schema for Models, parameters, etc.
- Connect search with API HOT 1
- Rename LHE file to ZIP file and remove number_of_events and reference_cross_section fields
- MathJax support
- add generic number of coordinates
- PointResponse View
- PoinRequest View
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recast-flask-frontend.