Comments (5)
This should not be done by the platform. We discussed this with Ben and Paolo in the past, the validation must be done by oq-lite and the platform should just call a validation API. This is a project for the next sprint, though.
from oq-platform.
I don't like the idea that the tool can generate files that can not be used directly in the engine for silly mistakes (plus, the check is very simple).
from oq-platform.
That's true, but it will become very hard to maintain a validation (which is sometime very complex) in two different places; the platform is also not well covered by tests and hard to test, so I agree with @micheles
In the platform we should put basic input constrains, like the "lowercase only" feature.
from oq-platform.
Me neither, this is why the project of validating the files with oq-lite has been approved, in theory even for this sprint. In practice we could not do it in time. It would be a waste of Ben's time doing the validation in a sub-optimal way.
from oq-platform.
This bug is totally related to risklib, and will be fixed in the 'oq-engine' repository.
from oq-platform.
Related Issues (20)
- Add CC version 4.0 variants to list of available licenses
- Vulnerability - Bug for exporting functions in NRML format HOT 2
- Vulnerability - Problem with exported functions with identical taxonomy
- Vulnerability - Some functions in the platform have the GEM taxonomy string wrong HOT 1
- Vulnerability - Update web link for Syner-G curves HOT 2
- Vulnerability - not allow empty taxonomy when save a curve. HOT 1
- Vulnerability - export short taxonomies in NRML files HOT 3
- oq-engine and oq-hazardlib must be installed via pip by deploy.sh HOT 2
- vulnerability is incompatible with engine 2.2.0 HOT 1
- development installation fails because of shapely
- Use engine through its API HOT 1
- By default license should be CC BY-NC-SA-4.0 HOT 4
- When a content is created is by default shared with everyone HOT 1
- urls.py is missing building-class HOT 1
- Add a warning about license when sharing content
- Fix ISC test to avoid big sleep before coords retrive
- ECD layout is broken on some OS
- Vulnerability: add direct filtering using url. HOT 2
- Openquake: link footer version to /versions page
- input files and PSHA?
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 oq-platform.