Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump setuptools from 67.7.2 to 70.0.0 #23

Open
wants to merge 49 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
82326e8
Update changes.md
mbaudis Jun 11, 2024
c7065aa
force update after a loooong time
mbaudis Jun 19, 2024
9681a5b
1.8.5
mbaudis Jul 1, 2024
0f7c579
1.8.6
mbaudis Jul 8, 2024
b1d9528
1.8.7
mbaudis Jul 10, 2024
72eef77
long time ... 1.9.1
mbaudis Sep 12, 2024
ea58d7a
1.9.3
mbaudis Sep 18, 2024
95d84fb
move of installers & housekeepers
mbaudis Sep 19, 2024
4800f9a
1.9.4
mbaudis Sep 19, 2024
01e2155
v2.0.0 "Taito City"
mbaudis Oct 10, 2024
2dbad2c
datasets testMode fix
mbaudis Oct 10, 2024
dbcbf07
install docs, service definitions move
mbaudis Oct 11, 2024
ad7677c
v2 docs & config reshuffling
mbaudis Oct 11, 2024
456c80c
2.0.1 restructuring & cleanup
mbaudis Oct 11, 2024
dfdd85b
Update index.md
mbaudis Oct 11, 2024
78e1013
2.0.2
mbaudis Oct 17, 2024
4f60d92
2.0.2 (start inline doc deparsing)
mbaudis Oct 18, 2024
4daeb04
doc restructuring
mbaudis Oct 18, 2024
bf8c25f
more services documentation
mbaudis Oct 18, 2024
5c085ed
more docs
mbaudis Oct 19, 2024
12e29a0
import docs ...
mbaudis Oct 21, 2024
7f760a1
Update index.md
mbaudis Oct 21, 2024
7632f81
Update index.md
mbaudis Oct 21, 2024
a12e50b
changes
mbaudis Oct 21, 2024
162e51b
2.0.5
mbaudis Oct 28, 2024
a561b35
Update installation.md
mbaudis Oct 29, 2024
f3128ae
docs
mbaudis Oct 31, 2024
7470a29
2.0.6
mbaudis Nov 7, 2024
fdfb8d6
2.0.7
mbaudis Nov 9, 2024
ad3e896
Delete services.md
mbaudis Nov 9, 2024
717906d
2.07, 2.0.8
mbaudis Nov 10, 2024
e905b1d
2.0.9
mbaudis Nov 10, 2024
c7611de
response schema inline docs improvements
mbaudis Nov 11, 2024
9912d31
API documentation
mbaudis Nov 11, 2024
708087b
Update mk-bycon-docs.yaml
mbaudis Nov 11, 2024
ed3f7c8
API.md since legacy links ...
mbaudis Nov 11, 2024
8a68001
2.0.10
mbaudis Nov 13, 2024
ec182d2
more doc
mbaudis Nov 13, 2024
3e0d6b3
Update API.md
mbaudis Nov 13, 2024
dde3a30
2.0.11
mbaudis Nov 14, 2024
9abb935
2.0.12
mbaudis Nov 14, 2024
978d89c
small docs change
mbaudis Nov 16, 2024
d0f27f2
doc formatting fix
mbaudis Nov 18, 2024
cad80e5
housekeeping
mbaudis Nov 20, 2024
c1d51be
If DATABASE_NAMES environment variable set, use this instead of
Nov 20, 2024
1a89cc6
extending the Phenopackets schema
mbaudis Nov 20, 2024
9b36b07
Merge pull request #22 from mbakereth/main
mbaudis Nov 20, 2024
a1df1eb
2.0.13
mbaudis Nov 22, 2024
b4d74a3
Bump setuptools from 67.7.2 to 70.0.0
dependabot[bot] Nov 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/mk-bycon-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ jobs:
- run: pip install pymdown-extensions
- run: pip install mkdocs-mermaid2-plugin
- run: pip install mdx_gh_links
- run: pip install mkdocstrings-python
- run: pip install mkdocs-include-markdown-plugin
- run: mkdocs gh-deploy --force
24 changes: 17 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,24 @@ rsrc/remnants
*.ods#
*__pycache__*
site
logs
logs/*
build
bycon.egg-info
dist
bycon/beaconServer/local/*
.idea/bycon.iml
.idea/misc.xml
.idea/vcs.xml
.idea/bycon.iml
.idea/bycon.iml
.idea/misc.xml
.idea/vcs.xml
.idea
logs/inventory/progenetix_UBERON_existing_codes.tsv
logs/inventory/progenetix_pgxcohort_existing_codes.tsv
logs/inventory/progenetix_NCITtnm_existing_codes.tsv
logs/inventory/progenetix_NCITstage_existing_codes.tsv
logs/inventory/progenetix_NCITsex_existing_codes.tsv
logs/inventory/progenetix_NCIT_existing_codes.tsv
logs/inventory/progenetix_icdot_existing_codes.tsv
logs/inventory/progenetix_icdom_existing_codes.tsv
logs/inventory/progenetix_GEOseries_existing_codes.tsv
logs/inventory/progenetix_GenomePlatforms_existing_codes.tsv
logs/inventory/progenetix_EFOmaterial_existing_codes.tsv
logs/inventory/progenetix_EDAMoperation_existing_codes.tsv
logs/inventory/progenetix_cbioportal_existing_codes.tsv
logs/inventory/progenetix_analysisPipeline_existing_codes.tsv
4 changes: 4 additions & 0 deletions beaconServer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## `bycon/beaconServer` directory

This directory contains the Beacon app, calling the individual v2
endpoints.
48 changes: 48 additions & 0 deletions beaconServer/beacon.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#!/usr/bin/env python3

from bycon import (
BYC,
BeaconDataResponse,
BeaconErrorResponse,
BeaconInfoResponse,
prdbug,
print_json_response
)

################################################################################

def main():
"""
The type of execution depends on the requested entity defined in the
`request_entity_path_id` (or aliases) in `entity_defaults`.
The entity is determined from different potential inputs and overwritten
by the next one in the order, if existing:

1. from the path (element after "beacon", e.g. `biosamples` from
`/beacon/biosamples/...`)
2. from a form value, e.g. `?requestEntityPathId=biosamples`
3. from a command line argument, e.g. `--requestEntityPathId biosamples`

Fallback is `/info` - so the 422 shouldn't be a thing...
"""

b_r_c = BYC.get("bycon_response_class", "___none___")

r = None
if b_r_c == "BeaconInfoResponse":
r = BeaconInfoResponse().populatedInfoResponse()
elif b_r_c == "BeaconDataResponse":
r = BeaconDataResponse().dataResponseFromEntry()
BeaconErrorResponse().respond_if_errors()
if r:
print_json_response(r)

BYC["ERRORS"].append("No correct service path provided. Please refer to the documentation at http://docs.progenetix.org")
BeaconErrorResponse().respond_if_errors()


################################################################################
################################################################################

if __name__ == '__main__':
main()
25 changes: 12 additions & 13 deletions bycon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@

from config import *

from args_parsing import *
from beacon_auth import *
from beacon_response_generation import *
from bycon_helpers import *
from cgi_parsing import *
from cytoband_parsing import *
from dataset_parsing import *
from genome_utils import *
from handover_generation import *
from parse_filters_request import *
from parameter_parsing import *
from query_execution import *
from query_generation import *
from read_specs import *
Expand All @@ -30,19 +28,20 @@
from service_utils import *
from variant_mapping import *

byc: object = {
"parsed_config_paths": []
}
# import byconServiceLibs

read_service_definition_files(byc)
# updates `entity_defaults`, `dataset_definitions` and `local_paths`
update_rootpars_from_local(LOC_PATH, byc)
set_entity_mappings()
set_beacon_defaults(byc)
parse_arguments(byc)
read_service_definition_files()
update_rootpars_from_local_or_HOST()
rest_path_elements()
set_beacon_defaults()
arguments_set_defaults()
parse_arguments()
set_entities()
initialize_bycon_service()
parse_filters()

except Exception:
if not "local" in ENV:
if not "___shell___" in ENV:
print('Content-Type: text/plain')
print('status: 302')
print()
Expand Down
4 changes: 0 additions & 4 deletions bycon/beaconServer/README.md

This file was deleted.

91 changes: 0 additions & 91 deletions bycon/beaconServer/beacon.py

This file was deleted.

36 changes: 0 additions & 36 deletions bycon/beaconServer/cohorts.py

This file was deleted.

30 changes: 0 additions & 30 deletions bycon/beaconServer/configuration.py

This file was deleted.

37 changes: 0 additions & 37 deletions bycon/beaconServer/datasets.py

This file was deleted.

37 changes: 0 additions & 37 deletions bycon/beaconServer/entry_types.py

This file was deleted.

Loading