Package WholeCellKB :: Package public :: Module helpers
[hide private]
[frames] | no frames]

Module helpers

source code


Whole-cell helper functions

Author: Jonathan Karr, jkarr@stanford.edu
Affiliation: Covert Lab, Department of Bioengineering, Stanford University
Last updated: 2012-07-17

Classes [hide private]
  ELEMENT_MWS
  ExtinctionCoefficient
  DipeptideInstabilityWeight
  Colors
  EmpiricalFormula
  PropertyDefinitionFilter
  PygmentsStyle
  PygmentsFormatter
Functions [hide private]
 
getModels(superclass=Entry, is_public=False) source code
 
get_models_in_saving_order(superclass=Entry, is_public=False) source code
 
model_save_order_comparator(x, y) source code
 
is_model_referenced(model, referenced_model, checked_models=[]) source code
 
getModelsMetadata(superclass=Entry, is_public=False) source code
 
getObjectTypes(superclass=Entry, is_public=False) source code
 
getModel(str) source code
 
getModelByVerboseName(str) source code
 
getModelByVerboseNamePlural(str) source code
 
getModelAdmin(str) source code
 
getModelDataFields(model, auto_created=True, metadata=True) source code
 
getModelDataFieldNames(model) source code
 
is_entrydata_model(cls) source code
 
getEntryDatas() source code
 
getEntry(species_wid=None, wid=None) source code
 
html_to_ascii(s) source code
 
uniqueUnsorted(seq) source code
 
uniqueSorted(seq) source code
 
render_queryset_to_response(request=[], queryset=EmptyQuerySet(), models=[], templateFile='', data={}, species_wid=None) source code
 
writeExcel(species, queryset, modelArr, is_user_anonymous) source code
 
get_excel_headers(model, is_user_anonymous=False) source code
 
format_value_excel(obj, field, depth=0) source code
 
batch_import_from_excel(species_wid, fileName, user) source code
 
read_excel_data(filename) source code
 
format_error_as_html_list(error) source code
 
remove_new_objects(newobjects, newsubobjects) source code
 
objectToQuerySet(obj, model=None) source code
 
format_field_detail_view(obj, field_name, is_user_anonymous) source code
 
format_field_detail_view_helper() source code
 
convert_modelobject_to_stdobject(obj, is_user_anonymous=False, ancestors=[]) source code
 
convert_modelobject_to_xml(obj, xml_doc, is_user_anonymous, ancestors=[]) source code
 
get_edit_form_fields(species_wid, model, obj=None) source code
 
get_edit_form_data(model, POST, field_prefix='') source code
 
validate_object_fields(model, data, wids, species_wid, entry_wid) source code
 
validate_model_objects(model, obj_data, all_obj_data=None, all_obj_data_by_model=None) source code
 
validate_model_unique(model, model_objects_data, all_obj_data=None, all_obj_data_by_model=None) source code
 
save_object_data(species_wid, obj, obj_data, obj_list, user, save=False, save_m2m=False) source code
 
format_sequence_as_html(sequence, lineLen=50) source code
 
readFasta(species_wid, filename, user) source code
 
write_bibtex(species, qs) source code
 
get_invalid_objects(species_id, validate_fields=False, validate_objects=True, full_clean=False, validate_unique=False) source code
 
compare_molecular_weight(x, y) source code
 
draw_molecule(smiles, format='svg', width=200, height=200) source code