summaryrefslogtreecommitdiff
path: root/lib/nanoparticle.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nanoparticle.rb')
-rw-r--r--lib/nanoparticle.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/nanoparticle.rb b/lib/nanoparticle.rb
new file mode 100644
index 0000000..3783ece
--- /dev/null
+++ b/lib/nanoparticle.rb
@@ -0,0 +1,17 @@
+module OpenTox
+
+ class Nanoparticle
+ include OpenTox
+
+ field :particle_id, type: String
+ field :core, type: String
+ field :coatings, type: Array
+
+ #field :physchem_descriptors, type: Hash, default: {}
+ #field :toxicities, type: Hash, default: {}
+ field :features, type: Hash, default: {}
+
+ end
+end
+
+