Commit c13121c1 authored by bue's avatar bue 🐮

@ superset : modified python3 template script work

parent af9c1f59
###
# title: acpipeTemplateCode_es8v006.py
#
# date: 2018-03-28
# license: GPL>=3
# author: bue
#
# description:
# acpipe script to generate a superset related acjson file.
# template automatically generated by annot softawre.
# check out: https://gitlab.com/biotransistor/annot
###
# python library
import json
# acpipe library
# check out: https://gitlab.com/biotransistor/acpipe_acjson
import acpipe_acjson.acjson as ac
import acpipe_aushon.gal2acjson as acgal
# load perturbationsetsets
with open('../../experiment_acjson/acaxis/acpipe_acjson-es-1layout2v3_ac.json') as f_json:
d_es1layout2v3 = json.load(f_json)
with open('../../experiment_acjson/acaxis/acpipe_acjson-es-2layout2v4_ac.json') as f_json:
d_es2layout2v4 = json.load(f_json)
with open('../../experiment_acjson/acaxis/acpipe_acjson-es-3layout2v4_ac.json') as f_json:
d_es3layout2v4 = json.load(f_json)
with open('../../experiment_acjson/acaxis/acpipe_acjson-es-4layout1v1_ac.json') as f_json:
d_es4layout1v1 = json.load(f_json)
# supersetfiles code
acgal.well8x35x20(
s_runid = "es8v006",
s_gal_txt = "../../experiment_acjson/supersetfile/gal20160419LI8X006.gal",
ld_sourceplate_acjson = [
d_es1layout2v3,
d_es2layout2v4,
d_es3layout2v4,
d_es4layout1v1,
],
s_opath="./",
)
# write to json file
with open(d_es8v006['acid'], 'w') as f_acjson:
json.dump(d_es8v006, f_acjson, sort_keys=True)
###
# title: acpipeTemplateCode_es8v008.py
#
# date: 2018-03-28
# license: GPL>=3
# author: bue
#
# description:
# acpipe script to generate a superset related acjson file.
# template automatically generated by annot softawre.
# check out: https://gitlab.com/biotransistor/annot
###
# python library
import json
# acpipe library
# check out: https://gitlab.com/biotransistor/acpipe_acjson
import acpipe_acjson.acjson as ac
import acpipe_aushon.gal2acjson as acgal
# load perturbationsetsets
with open('../../experiment_acjson/acaxis/acpipe_acjson-es-1layout3v6_ac.json') as f_json:
d_es1layout3v6 = json.load(f_json)
with open('../../experiment_acjson/acaxis/acpipe_acjson-es-2layout3v6_ac.json') as f_json:
d_es2layout3v6 = json.load(f_json)
with open('../../experiment_acjson/acaxis/acpipe_acjson-es-3layout2v6_ac.json') as f_json:
d_es3layout2v6 = json.load(f_json)
# supersetfiles code
acgal.well8x35x20(
s_runid = "es8v008",
s_gal_txt = "../../experiment_acjson/supersetfile/gal20161219LI8X008.gal",
ld_sourceplate_acjson = [
d_es1layout3v6,
d_es2layout3v6,
d_es3layout2v6,
],
s_opath="./",
)
# write to json file
with open(d_es8v008['acid'], 'w') as f_acjson:
json.dump(d_es8v008, f_acjson, sort_keys=True)
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