Skip to content

Commit

Permalink
Split specification
Browse files Browse the repository at this point in the history
  • Loading branch information
samirelanduk committed May 14, 2019
1 parent e53bbbe commit 19a15a9
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 25 deletions.
23 changes: 23 additions & 0 deletions specification/files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
File
code
title
deposition_date
classification
keywords
authors

technique
source_organisms
expression_systems
missing_residues

resolution
rvalue
rfree

assembly_matrices
unit_cell
space_group

models
model
27 changes: 2 additions & 25 deletions specification/spec.txt → specification/models.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ Atom

mass --> mass based on element
is_metal --> true if metal based on element
is_backbone --> based on atom name and het
is_sidechain --> based on atom name and het
chain --> chain above
model --> model above

Expand All @@ -136,28 +138,3 @@ Atom
rotate() --> rotates atom around axis
trim() --> trims atom coordinates
copy() --> creates copy of atom



File
code
title
deposition_date
classification
keywords
authors

technique
source_organisms
expression_systems

resolution
rvalue
rfree

assembly_matrices
unit_cell
space_group

models
model
6 changes: 6 additions & 0 deletions specification/querying.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Methods which return structures take parameters which can filter them

property=x --> Only those with poperty value x
porperty__gt=x --> Only those where the numerical value of property is greater than x
property__regex=x --> Only those where the string value of property matches regex
structure__property__xyz=x --> Only those belonging to a structure whose property matches x when filtered

0 comments on commit 19a15a9

Please sign in to comment.