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

Remove output of wrong abstract #5627

Merged
merged 1 commit into from
Nov 18, 2019
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ public void doPostCleanup(BibEntry entry) {
new FieldFormatterCleanup(new UnknownField("adsnote"), new ClearFormatter()).cleanup(entry);
// Move adsurl to url field
new MoveFieldCleanup(new UnknownField("adsurl"), StandardField.URL).cleanup(entry);
entry.getField(StandardField.ABSTRACT)
.filter(abstractText -> abstractText.equals("Not Available <P />"))
.ifPresent(abstractText -> entry.clearField(StandardField.ABSTRACT));
// The fetcher adds some garbage (number of found entries etc before)
entry.setCommentsBeforeEntry("");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public void setUp() throws Exception {
diezSliceTheoremEntry.setField(StandardField.URL, "https://ui.adsabs.harvard.edu/abs/2018arXiv181204698D");
diezSliceTheoremEntry.setField(StandardField.ABSTRACT,
"We establish a general slice theorem for the action of a locally convex Lie group on a locally convex manifold, which generalizes the classical slice theorem of Palais to infinite dimensions. We discuss two important settings under which the assumptions of this theorem are fulfilled. First, using Gl{\\\"o}ckner's inverse function theorem, we show that the linear action of a compact Lie group on a Fr{\\'e}chet space admits a slice. Second, using the Nash--Moser theorem, we establish a slice theorem for the tame action of a tame Fr{\\'e}chet Lie group on a tame Fr{\\'e}chet manifold. For this purpose, we develop the concept of a graded Riemannian metric, which allows the construction of a path-length metric compatible with the manifold topology and of a local addition. Finally, generalizing a classical result in finite dimensions, we prove that the existence of a slice implies that the decomposition of the manifold into orbit types of the group action is a stratification.");
diezSliceTheoremEntry.setField(StandardField.ABSTRACT, "Not Available <P />");

famaeyMcGaughEntry = new BibEntry();
famaeyMcGaughEntry.setType(StandardEntryType.Article);
Expand Down Expand Up @@ -97,7 +96,6 @@ public void setUp() throws Exception {
xiongSunEntry.setField(StandardField.VOLUME, "45");
xiongSunEntry.setField(StandardField.YEAR, "2007");
xiongSunEntry.setField(StandardField.URL, "https://ui.adsabs.harvard.edu/abs/2007ITGRS..45..879X");
xiongSunEntry.setField(StandardField.ABSTRACT, "Not Available <P />");

ingersollPollardEntry = new BibEntry();
ingersollPollardEntry.setType(StandardEntryType.Article);
Expand Down Expand Up @@ -129,7 +127,6 @@ public void setUp() throws Exception {
luceyPaulEntry.setField(StandardField.URL, "https://ui.adsabs.harvard.edu/abs/2000JGR...10520297L");
luceyPaulEntry.setField(StandardField.MONTH, "Jan");
luceyPaulEntry.setField(StandardField.NUMBER, "E8");
luceyPaulEntry.setField(StandardField.ABSTRACT, "Not Available <P />");
}

@Test
Expand Down