aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
70 stars 43 forks source link

CBRAIN should not change data provider type arbitrary (in presence of missed or incorrect fields) #1407

Open MontrealSergiy opened 2 weeks ago

MontrealSergiy commented 2 weeks ago

Makes sure that CBRAIN does not change new data provider type arbitrary due validation errors, such as supplying already existing name, missing it completely etc fixes #1406

prioux commented 2 weeks ago

How does this work? Shouldn't that raise an exception?

prioux commented 2 weeks ago

Have you tested this?

prioux commented 2 weeks ago

Oh, is it a named parameter? Don't use the name, since we're not all using the same versions of Ruby everywhere.

MontrealSergiy commented 2 weeks ago

corrected