Compare commits
No commits in common. "b56c75849ca43d083b510bf027efbd0394be8ef9" and "8e1b30ae7d5773f19c9c4d4b02073711d69e92bd" have entirely different histories.
b56c75849c
...
8e1b30ae7d
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -37,6 +37,10 @@ pipeline {
|
|||||||
stage("publish") {
|
stage("publish") {
|
||||||
parallel {
|
parallel {
|
||||||
stage ("git.reslate.systems") {
|
stage ("git.reslate.systems") {
|
||||||
|
when {
|
||||||
|
branch '**/main'
|
||||||
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
CREDS = credentials('username-password-rs-git')
|
CREDS = credentials('username-password-rs-git')
|
||||||
}
|
}
|
||||||
|
@ -53,19 +53,18 @@ async def run(args: Namespace):
|
|||||||
writer.writerows(sorted_seqdef_dbs)
|
writer.writerows(sorted_seqdef_dbs)
|
||||||
print("\nDatabase output written to {0}".format(args.csv_output))
|
print("\nDatabase output written to {0}".format(args.csv_output))
|
||||||
|
|
||||||
if args.list_bigsdb_schemes:
|
csv_scheme_rows = []
|
||||||
csv_scheme_rows = []
|
for bigsdb_scheme_name in args.list_bigsdb_schemes:
|
||||||
for bigsdb_scheme_name in args.list_bigsdb_schemes:
|
schemes = await bigsdb_index.get_schemes_for_seqdefdb(bigsdb_scheme_name)
|
||||||
schemes = await bigsdb_index.get_schemes_for_seqdefdb(bigsdb_scheme_name)
|
csv_scheme_rows.extend([(name, id, bigsdb_scheme_name) for name, id in sorted(schemes.items())])
|
||||||
csv_scheme_rows.extend([(name, id, bigsdb_scheme_name) for name, id in sorted(schemes.items())])
|
print("The following are the known schemes for \"{0}\", and their associated IDs:".format(bigsdb_scheme_name))
|
||||||
print("The following are the known schemes for \"{0}\", and their associated IDs:".format(bigsdb_scheme_name))
|
print("\n".join(["{0}: {1}".format(name, id) for name, id, database in csv_scheme_rows]))
|
||||||
print("\n".join(["{0}: {1}".format(name, id) for name, id, database in csv_scheme_rows]))
|
if args.csv_output:
|
||||||
if args.csv_output:
|
with open(args.csv_output, "w") as csv_out_handle:
|
||||||
with open(args.csv_output, "w") as csv_out_handle:
|
writer = csv.writer(csv_out_handle)
|
||||||
writer = csv.writer(csv_out_handle)
|
writer.writerow(("Name", "ID", "Database Name"))
|
||||||
writer.writerow(("Name", "ID", "Database Name"))
|
writer.writerows(csv_scheme_rows)
|
||||||
writer.writerows(csv_scheme_rows)
|
print("\nscheme list output written to {0}".format(args.csv_output))
|
||||||
print("\nscheme list output written to {0}".format(args.csv_output))
|
|
||||||
|
|
||||||
def run_asynchronously(args: Namespace):
|
def run_asynchronously(args: Namespace):
|
||||||
asyncio.run(run(args))
|
asyncio.run(run(args))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user