Skip to content

Commit

Permalink
Fixed up operators
Browse files Browse the repository at this point in the history
  • Loading branch information
Nic Bollis committed Nov 22, 2023
1 parent 2d30461 commit 5c3512d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public ToppicPrsm()
AlternativeIdentifications = new List<AlternativeToppicId>();
}

private string _fileNameWithoutExtension;
private string? _fileNameWithoutExtension;
[Ignore]
public string FileNameWithoutExtension => _fileNameWithoutExtension ??= Path.GetFileNameWithoutExtension(FilePath);

Expand Down Expand Up @@ -99,13 +99,13 @@ public ToppicPrsm()
public string? SpecialAminoAcids { get; set; }

[Ignore]
private string _baseSequence;
private string? _baseSequence;

[Optional]
[Name("Database protein sequence")]
public string BaseSequence
{
get => _baseSequence ?? GetBaseSequenceFromFullSequence();
get => _baseSequence ??= GetBaseSequenceFromFullSequence();
set => _baseSequence = value;
}

Expand Down

0 comments on commit 5c3512d

Please sign in to comment.