Commit c1e9d41c authored by Carlo Ferrigno's avatar Carlo Ferrigno
Browse files


Add author email.
add author and email to git folder to push
parent fdb17d22
......@@ -7,8 +7,7 @@ import pkgutil
import os
__author__ = "Carlo Ferrigno"
__author_email__ = ""
pkg_dir = os.path.abspath(os.path.dirname(__file__))
pkg_name = os.path.basename(pkg_dir)
......@@ -187,9 +187,12 @@ def get_osa10_11_conversion_factor(E1_isgri_keV, E2_isgri_keV, radius=10., oda_p
factor = np.mean(r_10)/np.mean(r_11)"Conversion factor is %f" % factor)
conversion_dict.update({'%.0f-%.0f' % (E1_isgri_keV, E2_isgri_keV): float(factor)})
import oda_integral_wrapper
with open('integral-osa-additional-parameters/osa11-10-conversion.json', 'w') as ff:
json.dump(conversion_dict, ff)'cd integral-osa-additional-parameters;'+
'git config "%s";'%(oda_integral_wrapper.__author_email__) +
'git config --global "%s";' %(oda_integral_wrapper.__author__) +
'git commit osa11-10-conversion.json -m "Update factor %.0f-%.0f";'%(E1_isgri_keV, E2_isgri_keV)+
'git push ', shell=True)
......@@ -19,7 +19,7 @@ include_package_data=True
scripts_list = glob.glob('./bin/*')
description='wrapper for INTEGRAL analysis using the API plugin for CDCI online data analysis',
author='Carlo Ferrigno',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment