Skip to content

Commit

Permalink
cicd: change autoformat action name (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored Aug 27, 2024
1 parent a498a08 commit bf67766
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Autoformat
name: Format query code

on:
pull_request:
Expand Down
6 changes: 5 additions & 1 deletion src/dgipy/queries/get_drugs.graphql
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
query getDrugs($names: [String!], $immunotherapy: Boolean, $antiNeoplastic: Boolean) {
query getDrugs(
$names: [String!]
$immunotherapy: Boolean
$antiNeoplastic: Boolean
) {
drugs(
names: $names
immunotherapy: $immunotherapy
Expand Down
10 changes: 9 additions & 1 deletion src/dgipy/queries/get_interactions_by_drug.graphql
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
query getInteractionsByDrug($names: [String!], $immunotherapy: Boolean, $antineoplastic: Boolean, $sourceDbName: String, $pmid: Int, $interactionType: String, $approved: Boolean) {
query getInteractionsByDrug(
$names: [String!]
$immunotherapy: Boolean
$antineoplastic: Boolean
$sourceDbName: String
$pmid: Int
$interactionType: String
$approved: Boolean
) {
drugs(
names: $names
immunotherapy: $immunotherapy
Expand Down
7 changes: 6 additions & 1 deletion src/dgipy/queries/get_interactions_by_gene.graphql
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
query getInteractionsByGene($names: [String!], $sourceDbName: String, $pmid: Int, $interactionType: String) {
query getInteractionsByGene(
$names: [String!]
$sourceDbName: String
$pmid: Int
$interactionType: String
) {
genes(
names: $names
sourceDbName: $sourceDbName
Expand Down

0 comments on commit bf67766

Please sign in to comment.