Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fact_pdf_report
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
fact_pdf_report
Commits
49d71ab8
Commit
49d71ab8
authored
Jun 15, 2020
by
lwilms
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt spacing
parent
74a2bcd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
template_engine.py
pdf_generator/tex_generation/template_engine.py
+3
-3
No files found.
pdf_generator/tex_generation/template_engine.py
View file @
49d71ab8
...
...
@@ -213,10 +213,10 @@ def get_triples(analysis):
def
get_desired_triple
(
seleced_summary
,
which_desired
):
desired_list
=
ip_or_uri
(
seleced_summary
,
which_desired
)
chosen_one
=
'x x'
*
60
while
len
(
chosen_one
)
>
4
0
:
while
len
(
chosen_one
)
>
5
0
:
chosen_one
=
choice
(
desired_list
)
return
'{2}{1}{0}{3}{
5} {4}'
.
format
(
'{'
,
'}'
,
len
(
desired_list
),
which_desired
,
replace_special_characters
(
chosen_one
)
,
'
\
quad'
*
10
)
return
'{2}{1}{0}{3}{
4} {5}'
.
format
(
'{'
,
'}'
,
len
(
desired_list
),
which_desired
,
'
\
quad'
*
5
,
replace_special_characters
(
chosen_one
))
def
ip_or_uri
(
summary
,
which_select
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment