a ,"?gj ã@sÔddlmZdZdZdZdZdZdZdZd Z d Z d Z d Z d Z dZdZdZdZdZdZdZdZdZeeeeee e e e ee eeeeeeegZe e e eeeeeeeeeeee e eddeeeeeedœZgd¢Zdd„ZdS)é)ÚSKIPPED_MIME_TYPESz not-specifiedÚskipZadditionalLinksz biolucida-2dz biolucida-3dz common-imageszabi-context-fileÚcsvÚnameZorganszabi-plotzmbf-segmentationzabi-scaffold-dirzabi-scaffold-metadata-filez abi-thumbnailzabi-scaffold-view-filezabi-simulation-fileZvideoÚversionÚreadmeÚtitlez tiff-image)ztext/csvz*application/vnd.mbfbioscience.metadata+xmlz-application/vnd.mbfbioscience.neurolucida+xmlz.application/x.vnd.abi.context-information+jsonz(application/x.vnd.abi.scaffold.meta+jsonz(application/x.vnd.abi.scaffold.view+jsonz%application/x.vnd.abi.simulation+jsonzimage/x.vnd.abi.thumbnail+jpegzimage/x.vnd.abi.thumbnail+pngz inode/vnd.abi.scaffold+directoryzinode/vnd.abi.scaffold+filez inode/vnd.abi.scaffold+thumbnailz%inode/vnd.abi.scaffold.thumbnail+filez inode/vnd.abi.scaffold.view+filez&text/vnd.abi.plot+tab-separated-valuesztext/vnd.abi.plot+csvú image/pngz image/tiffz image/tifú image/jpegz image/jpxzimage/vnd.ome.xml+jpxz image/jp2zimage/vnd.ome.xml+jp2z video/mp4)ÚbytesZ checksumsÚ distributionsZissupplementaltoÚupdatedcCs„| ¡}|dkrtS|tkr tS| ¡}|tvr4tS|tvr€|dvrxz|dd d¡r^tWSWntyvtYS0t|StS)NÚ)r r ÚdatasetÚpathZ derivative)ÚstripÚSKIPÚ NOT_SPECIFIEDÚlowerrÚMAPPED_MIME_TYPESÚ startswithÚKeyError)Ú mime_typeÚobjZlower_mime_type©rúN/home/cmiss/Jenkins/workspace/SPARC-API-DEV/app/scicrunch_processing_common.pyÚ map_mime_typeCs"   rN)Z*app.scicrunch_processing_skipped_mimetypesrrrZADDITIONAL_LINKSZ BIOLUCIDA_2DZ BIOLUCIDA_3DZ COMMON_IMAGESZ CONTEXT_FILEZCSVÚNAMEZORGANSZ PLOT_FILEZSEGMENTATION_FILESZ SCAFFOLD_DIRZ SCAFFOLD_FILEZTHUMBNAIL_IMAGEZSCAFFOLD_VIEW_FILEZSIMULATION_FILEZVIDEOÚVERSIONZREADMEZTITLEZPASS_THROUGH_KEYSrÚSKIPPED_OBJ_ATTRIBUTESrrrrrÚsh ÿç