Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Wiki
Manage
Activity
Members
Labels
Plan
Issues
53
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
You need to sign in or sign up before continuing.
Show more breadcrumbs
MDM Lab
Wiki
Commits
3539efb6
Commit
3539efb6
authored
1 year ago
by
Remi PLANEL
Browse files
Options
Downloads
Patches
Plain Diff
Handle cif
parent
cd3152c0
No related branches found
No related tags found
No related merge requests found
Pipeline
#118856
passed with stages
in 8 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/df-wiki-cli/df_wiki_cli/content/main.py
+7
-2
7 additions, 2 deletions
packages/df-wiki-cli/df_wiki_cli/content/main.py
with
7 additions
and
2 deletions
packages/df-wiki-cli/df_wiki_cli/content/main.py
+
7
−
2
View file @
3539efb6
...
...
@@ -134,8 +134,11 @@ def structure(
for
row
in
reader
:
dir_name
=
system_to_dir
[
row
[
"
system
"
]]
# console.rule(f"[bold blue]{dir_name}", style="blue")
pdb_path_file
=
Path
(
row
[
"
pdb
"
])
cif_file_name
=
Path
(
str
(
pdb_path_file
).
split
(
"
.pdb
"
)[
0
]
+
"
.cif
"
)
files
=
[
{
"
f
"
:
Path
(
row
[
"
pdb
"
]),
"
d
"
:
"
PDB
"
},
{
"
f
"
:
pdb_path_file
,
"
d
"
:
"
PDB
"
},
{
"
f
"
:
cif_file_name
,
"
d
"
:
"
CIF
"
},
{
"
f
"
:
Path
(
row
[
"
pae_table
"
]),
"
d
"
:
"
PAE
"
},
{
"
f
"
:
Path
(
row
[
"
fasta_file
"
]),
"
d
"
:
"
Fastas
"
},
{
"
f
"
:
Path
(
row
[
"
Foldseek_name
"
]),
"
d
"
:
"
foldseek_monomers_html
"
},
...
...
@@ -151,4 +154,6 @@ def structure(
if
file_to_copy
.
exists
():
shutil
.
copy2
(
file_to_copy
,
target_dir
)
else
:
console
.
print
(
f
"
[red] file
{
str
(
file_to_copy
.
name
)
}
does not exist
"
)
console
.
print
(
f
"
[red] file
{
str
(
file_to_copy
.
name
)
}
does not exist
"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment