Open golnazads opened 5 years ago
Per Alberto's suggestion Define author types globally author_type = ['regular', 'collaboration'] then use it in the several places that needs to be used https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L124 https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L152 https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L158 https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L165 https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L186 https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L195
this is done. Steve feel free to close it.
Per Alberto's suggestion Define author types globally author_type = ['regular', 'collaboration'] then use it in the several places that needs to be used https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L124 https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L152 https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L158 https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L165 https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L186 https://github.com/adsabs/ADSImportPipeline/blob/master/aip/classic/solr_adapter.py#L195