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

citations #1070

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions news/citations.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
**Added:**

* article synopsis and professional summary added to grant-report citation list
* acknowledgement statement added to grant-report citation list

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* spacing in names in citations in grant-reports

**Security:**

* <news item>
3 changes: 2 additions & 1 deletion regolith/builders/grantreportbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def latex(self):
publications = [publ for publ in self.gtx["citations"] if grant_id in publ.get("grant", "")]

for publ in publications:
formatted_authors = [HumanName(name).full_name for name in publ.get("authors", [])]
formatted_authors = [f" {HumanName(name).full_name}" for name in publ.get("authors", [])]
publ["authors"] = formatted_authors
# Participants/Organizations
participants = []
Expand Down Expand Up @@ -213,6 +213,7 @@ def latex(self):
self.render(
"grantreport.txt",
f"{grant_id}_report_{begin_date_str}_{end_date_str}.txt",
grant=grant,
begin_date=begin_date_str,
end_date=end_date_str,
majorActivities=major_activities,
Expand Down
5 changes: 5 additions & 0 deletions regolith/schemas.json
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,11 @@
"year": {"required": false, "type": "integer"},
"month": {"required": false, "type": "integer"},
"description": {
"required": false,
"type": "string",
"description": "any tags for the type of the highlight. Use any that you want but ones currently used are (principal_discipline, other_discipline,human_resource_development, physical_infrastructure, institutional_infrastructure, information_infrastructure, technology_transfer, broader_society) which correspond to US DOE/NSF progress reports"
},
"tags": {
"required": false,
"type": "string"
}
Expand Down
105 changes: 72 additions & 33 deletions regolith/templates/grantreport.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,13 @@ Accomplishments
{{ hline }}
* What are the major goals of the project?
{{ hline }}
In real-world applications, materials are rarely perfect crystals and their properties
depend sensitively on defects, nanoscale structures, interfaces, surfaces and multi-scale
heterogeneities. A major challenge is to gain a greater understanding of how such
"imperfect" materials operate, including on different length and time-scales. In situations
as complicated as this it is essential to validate theories against experiment, and vice versa.
A more tightly coupled partnership between experiment and theory is needed, having its roots
in information theory: the models need to capture all the physics of the problem become more
complicated, while at the same time the information content of experimental data is reduced,
due to lower resolution from finite size effects, defects, the presence of multiple components
with overlapping problems, which yield unreliable and non-unique solutions, a bottleneck to
predictive materials discovery. We will develop novel mathematical approaches to address this
problem. We will study as a test case the nanostructure inverse problem (NIP), a well defined
but generally ill-posed materials inverse problem; however, the methods that we develop will
have much broader applicability in the world of materials discovery.

Goal 1: Develop databases of nanostructure data from model systems
Goal 2: Develop data analytic and stochastic optimization methodologies for robust
nanostructure solutions
Goal 3: Develop software infrastructure for nanostructure modeling that use the databases
and the new methodologies for nanostructure solution
Goal 4: Apply this to real scientific problems
{{ grant.get('narrative') | replace('\n', '\n') }}

{{ hline }}
* What was accomplished under these goals (you must provide information for
at least one of the 4 categories below)?
{{ hline }}
- Major Activities (currently worked on projecta):
PDF in the cloud (PDFitc): Development of a web-based service for determining
structures from measured PDFs given known structures in structural databases
xpdTools, xpdAcq, xpdAn, xpdView: Software tools for streaming data analysis
and visualization of diffraction data from the XPD diffractometer at NSLS-II
synchrotron. The tools can also be used to analyze data from other diffraction
beamlines.
{{ hline }}
{%- for prum in majorActivities %}
{{ prum.get('_id') }}| {{ prum.get('name') }}| {{prum.get('lead')}}
Expand All @@ -63,11 +37,11 @@ Key outcomes or Other achievements:
{%- for opportunity in trainingAndProfessionalDevelopment %}
- Authors: {{ opportunity.get('authors') }}
- Title: {{ opportunity.get('title') }}
- Location: {{ opportunity.get('meeting_name') }}
{% endfor -%}}
- Location: {{ opportunity.get('meeting_name') }}, {{opportunity.get('location')}}
{% endfor -%}
{%- for thesis in defendedTheses %}
{{thesis}} wrote and successfully defended their thesis.
{% endfor -%}}
{% endfor -%}

{{ hline }}
* How have the results been disseminated to communities of interest?
Expand All @@ -92,11 +66,19 @@ Products
{{ hline }}
{%- for publ in products %}
- {{ publ.get('title') }}
{% for person in publ.get('author') -%}{{ person }}, {%- endfor %}
{% for person in publ.get('author') %}{{ person }}, {% endfor %}
{{ publ.get('journal') }}, {{ publ.get('volume') }}, pp. {{ publ.get('pages') }}
{{ publ.get('month') }}/{{ publ.get('year') }}
{{ publ.get('doi') }}
{% endfor -%}}

Synopsis: {{ publ.get('synopsis','') }}

professional Summary: {{ publ.get('professional_summary','') }}

public Summary: {{ publ.get('public_summary','') }}

acknowledgement statement: {{ publ.get('ackno','') }}
{% endfor -%}

{{ hline }}
Participants/Organizations
Expand All @@ -121,20 +103,77 @@ Impacts
{{ hline }}
What is the impact on the development of the principal discipline(s) of the project?

{% if grant.get('impacts',{}).get('principal_discipline',[]) | length > 0 %}
Projected impacts are
{% for item in grant.get('impacts',{}).get('principal_discipline',[]) %}
- {{ item }}
{% endfor %}
{% endif %}


What is the impact on other disciplines?

{% if grant.get('impacts',{}).get('other_discipline',[]) | length > 0 %}
Projected impacts are
{% for item in grant.get('impacts',{}).get('other_discipline',[]) %}
- {{ item }}
{% endfor %}
{% endif %}

What is the impact on the development of human resources?

{% if grant.get('impacts',{}).get('human_resource_development',[]) | length > 0 %}
Projected impacts are
{% for item in grant.get('impacts',{}).get('human_resource_development',[]) %}
- {{ item }}
{% endfor %}
{% endif %}

What is the impact on physical resources that form infrastructure?

{% if grant.get('impacts',{}).get('physical_infrastructure',[]) | length > 0 %}
Projected impacts are
{% for item in grant.get('impacts',{}).get('physical_infrastructure',[]) %}
- {{ item }}
{% endfor %}
{% endif %}

What is the impact on institutional resources that form infrastructure?

{% if grant.get('impacts',{}).get('institutional_infrastructure',[]) | length > 0 %}
Projected impacts are
{% for item in grant.get('impacts',{}).get('institutional_infrastructure',[]) %}
- {{ item }}
{% endfor %}
{% endif %}

What is the impact on information resources that form infrastructure?

{% if grant.get('impacts',{}).get('information_infrastructure',[]) | length > 0 %}
Projected impacts are
{% for item in grant.get('impacts',{}).get('information_infrastructure',[]) %}
- {{ item }}
{% endfor %}
{% endif %}

What is the impact on technology transfer?

{% if grant.get('impacts',{}).get('technology_transfer',[]) | length > 0 %}
Projected impacts are
{% for item in grant.get('impacts',{}).get('technology_transfer',[]) %}
- {{ item }}
{% endfor %}
{% endif %}

What is the impact on society beyond science and technology?

{% if grant.get('impacts',{}).get('broader_society',[]) | length > 0 %}
Projected impacts are
{% for item in grant.get('impacts',{}).get('broader_society',[]) %}
- {{ item }}
{% endfor %}
{% endif %}

{{ hline }}
Changes/Problems
{{ hline }}
Expand All @@ -148,4 +187,4 @@ Significant changes in use or care of human subjects

Significant changes in use or care of vertebrate animals

Significant changes in use or care of biohazards
Significant changes in use or care of biohazards
Loading