12.07.2015 Views

The Computational Materials Repository

The Computational Materials Repository

The Computational Materials Repository

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.2 PHPUI script to continue analysis in the PUI 83################# CREATE a group with s e l e c e d item################# r e s u l t d i c t = c o l l e c t i o n . g e t a s d i c t ( columns =[” db hash ” ] )# h a s h l i s t = r e s u l t d i c t [ ” db hash ” ]# c o l l e c t i o n . c r e a t e g r o u p ( cmr params={”db keywords ” : [ ” new group ” ] } )################# DELETE s e l e c t e d data from database################# import cmr# r e s u l t d i c t = c o l l e c t i o n . g e t a s d i c t ( columns =[” db hash ” ] )# h a s h l i s t = r e s u l t d i c t [ ” db hash ” ]# cmr . d e l e t e ( h a s h l i s t )

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!